Skip to content

FlxView3D (Away3D) Optimisation - #868

Merged
Raltyro merged 8 commits into
CodenameCrew:view3d-optimizationfrom
StrawberrySage:away3d-optimisation
Aug 1, 2026
Merged

FlxView3D (Away3D) Optimisation#868
Raltyro merged 8 commits into
CodenameCrew:view3d-optimizationfrom
StrawberrySage:away3d-optimisation

Conversation

@kitzsh

@kitzsh kitzsh commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

This pull request optimises Codename Engine's Away3D implementation by rendering the view directly to a framebuffer, rather than taking a snapshot of the output and loading it onto a BitmapData.
This eliminates a bottleneck which previously caused performance issues which got worse as the view's resolution increased.

@Raltyro

Raltyro commented Jan 18, 2026

Copy link
Copy Markdown
Member

Is this complete?

@kitzsh

kitzsh commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

Is this complete?

There's a bug which I used a hacky workaround to fix that might be good to look into further, but apart from that it's basically done

@kitzsh
kitzsh force-pushed the away3d-optimisation branch from 122c658 to 1a94243 Compare February 17, 2026 09:26
@Raltyro Raltyro added the type:help wanted Extra attention is needed label Apr 3, 2026
@Raltyro
Raltyro changed the base branch from main to view3d-optimization August 1, 2026 05:44
@Raltyro
Raltyro merged commit 04ad468 into CodenameCrew:view3d-optimization Aug 1, 2026
Raltyro pushed a commit that referenced this pull request Aug 1, 2026
* Initial commit for branch

* Almost done, just need to fix that weird bug where 2 views need to be present to render 3D

* Small optimisations

* Added temporary fix for rendering with a single view

* removed myself from the authors

* Removing it in fact did not break anything (removed commented out block of code)

* Removed a useless variable and improved formatting on a comment

* Aw dang it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants